/**
 * Copyright (C) 2009-2016 All Rights Reserved.
 */
package com.runmi.webchat.aftersale.dbcore.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "jdbc")
@Data
public class JdbcProperties {
    private String url;
    private String username;
    private String password;
    private String driverClassName;
    private String testWhileIdle;
    private Integer initialSize;
    private Integer maxActive;
    private Integer maxWait;
    private String validationQuery="SELECT 1";

}
